package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 获奖完成人对象 work_award_winners
 * 
 * @author ruoyi
 * @date 2024-07-03
 */
public class WorkAwardWinners extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 主表id */
    @Excel(name = "主表id")
    private Long workAwardId;

    /** 署名顺序 */
    @Excel(name = "署名顺序")
    private Long signatureOrder;

    /** 作者类型 */
    @Excel(name = "作者类型")
    private Long authorType;

    /** 完成人 */
    @Excel(name = "完成人")
    private String parsonCharge;

    /** 性别（见系统字典） */
    @Excel(name = "性别", readConverterExp = "见=系统字典")
    private Long gender;

    /** 学历(1:专科生，2：本科生，3：研究生，4：博士生) */
    @Excel(name = "学历(1:专科生，2：本科生，3：研究生，4：博士生)")
    private Long educationBackgorund;

    /** 工作单位 */
    @Excel(name = "工作单位")
    private Long affiliatedUnit;

    /** 贡献率 % */
    @Excel(name = "贡献率 %")
    private Long contributionRate;

    /** 职称 */
    @Excel(name = "职称")
    private Long professionalTitle;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWorkAwardId(Long workAwardId) 
    {
        this.workAwardId = workAwardId;
    }

    public Long getWorkAwardId() 
    {
        return workAwardId;
    }
    public void setSignatureOrder(Long signatureOrder) 
    {
        this.signatureOrder = signatureOrder;
    }

    public Long getSignatureOrder() 
    {
        return signatureOrder;
    }
    public void setAuthorType(Long authorType) 
    {
        this.authorType = authorType;
    }

    public Long getAuthorType() 
    {
        return authorType;
    }
    public void setParsonCharge(String parsonCharge) 
    {
        this.parsonCharge = parsonCharge;
    }

    public String getParsonCharge() 
    {
        return parsonCharge;
    }
    public void setGender(Long gender) 
    {
        this.gender = gender;
    }

    public Long getGender() 
    {
        return gender;
    }
    public void setEducationBackgorund(Long educationBackgorund) 
    {
        this.educationBackgorund = educationBackgorund;
    }

    public Long getEducationBackgorund() 
    {
        return educationBackgorund;
    }
    public void setAffiliatedUnit(Long affiliatedUnit) 
    {
        this.affiliatedUnit = affiliatedUnit;
    }

    public Long getAffiliatedUnit() 
    {
        return affiliatedUnit;
    }
    public void setContributionRate(Long contributionRate) 
    {
        this.contributionRate = contributionRate;
    }

    public Long getContributionRate() 
    {
        return contributionRate;
    }
    public void setProfessionalTitle(Long professionalTitle) 
    {
        this.professionalTitle = professionalTitle;
    }

    public Long getProfessionalTitle() 
    {
        return professionalTitle;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workAwardId", getWorkAwardId())
            .append("signatureOrder", getSignatureOrder())
            .append("authorType", getAuthorType())
            .append("parsonCharge", getParsonCharge())
            .append("gender", getGender())
            .append("educationBackgorund", getEducationBackgorund())
            .append("affiliatedUnit", getAffiliatedUnit())
            .append("contributionRate", getContributionRate())
            .append("professionalTitle", getProfessionalTitle())
            .toString();
    }
}
